package cn.hanna.springcloud.mapper;

import cn.hanna.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author smileha
 * @create 2021-10-16 11:01
 * @description
 */
@Mapper
public interface PaymentMapper {

    //插入支付流水号
    int create(Payment payment);

    // 跟据id获取支付流水号
    Payment getSerialById(Long id);
}
